<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0,user-scalable=no,minimal-ui">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="../img/asset-favico.ico">
    <title>健康档案详情</title>

    <link rel="stylesheet" href="../css/page-health-recordDetail.css" />
</head>

<body data-spy="scroll" data-target="#myNavbar" data-offset="150">
<div class="app" id="app">
        <!-- 页面头部 -->
        <div class="top-header">
            <span class="f-left"><i class="icon-back"></i>返回</span>
            <span class="center">守护云健康管家</span>
            <span class="f-right"><i class="icon-more"></i></span>
        </div>
        <!-- 页面内容 -->
        <div class="contentBox">
            <div class="list-content">
                <div class="fix-info">
                    <ul class="list-unstyled ">
                        <li><span class="tit">个人编号</span><span class="info">{{pat.patNo}}</span></li>
                        <li><span class="tit">就诊卡号</span><span class="info">{{pat.personNo}}</span></li>
                        <li><span class="tit">医保卡号</span><span class="info">{{pat.insuranceNo}}</span></li>
                        <li><span class="tit">姓名</span><span class="info">{{pat.name}}</span></li>
                        <li><span class="tit">性别</span><span class="info">{{pat.gender}}</span></li>
                        <li><span class="tit">职业</span><span class="info">{{pat.occupation}}</span></li>
                        <li><span class="tit">身份证号</span><span class="info">{{pat.idCard}}</span></li>
                        <li><span class="tit">手机号</span><span class="info">{{pat.phone}}</span></li>
                        <li><span class="tit">婚否</span><span class="info">{{pat.maritalStatus}}</span></li>
                    </ul>
                </div>
                <div class="fix-info">
                    <ul class="mui-list-unstyled ">
                        <li><span class="tit">身高</span><span class="info">{{pat.height}}cm</span></li>
                        <li><span class="tit">体重</span><span class="info">{{pat.weight}}kg</span></li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
    <!-- 页面 css js -->
    <!-- <script src="health-index.js"></script> -->

<!-- 页面 css js -->
<script src="../plugins/vue/vue.js"></script>
<script src="../plugins/vue/axios-0.18.0.js"></script>
<!--<script src="../js/page-health-order.js"></script>-->
<script>
        var vue = new Vue({
            el:'#app',
            data:{
                pat: ''
            },
            mounted (){
                axios.get("/reg/system/prescription/getPat").then((res)=>{
                    if(res.data.code === 200){
                        //查询成功，给模型数据赋值
                        /*this.list = res.data.data;*/
                        this.pat = res.data.data;
                        console.log(this.pat);
                    }else{
                        //查询失败，弹出提示信息
                        this.$message.error("获取健康信息失败");
                    }
                });
            }
        });
</script>
</body>